BITMAP DEPTH

This command will return an integer value of the color bit-depth of the current bitmap.

  Syntax
Return Integer=BITMAP DEPTH(Bitmap Number)
Return Integer=BITMAP DEPTH()
  Parameters
Bitmap Number
Integer
Specify a bitmap number between 0 and 32.

  Returns

The value returned is the bit depth of the current bitmap

  Description

You can optionally provide a bitmap number to return the color bit-depth of a specified bitmap. color bit-depths represent the maximum amount of colors the bitmap can hold. The parameter should be specified using an integer value.

  Example Code
PRINT BITMAP DEPTH()
WAIT KEY
  See also

BITMAP Commands Menu
Index